package com.itheima.mapper;

import com.itheima.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * CTassName: DeptMapper
 * Package: com.itheima.mapper
 * Description:
 *
 * @Author xw
 * @Create 2023/11/4 19:36
 * @Version 1.0
 */


@Mapper
public interface DeptMapperJob {

    //  查询
    Dept listName(Integer id);

    void updateService(Dept deptRequest);

    List<Dept> list();

    void delete(Integer id);

    void addDept(Dept dept);
}
